﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RL
{
    public partial class Form1 : Form
    {
        //private ListReportRL lst;
        public IEnumerable<ReportRL> ReportData { get; set; }
        public Form1()
        {
            InitializeComponent();
            //lst = new ListReportRL();
            //lst.Add(new ReportRL{ datedoc="дата 1", nomdoc="номер 1"});
            //lst.Add(new ReportRL { datedoc = "дата 2", nomdoc = "номер 2" });
            //CrystalReportRLAll1.SetDataSource(lst);

        }
        private void Form1_Load(object sender, EventArgs e)
        {
            CrystalReportRLAll1.SetDataSource(ReportData);
        }
    }
}
